package cn.huolabao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 岗位表
    */
@ApiModel(value="cn-huolabao-model-SysJob")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_job")
public class SysJob implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="主键")
    private Integer id;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id")
    @ApiModelProperty(value="租户ID")
    private Integer tenantId;

    /**
     * 岗位编号
     */
    @TableField(value = "job_code")
    @ApiModelProperty(value="岗位编号")
    private String jobCode;

    /**
     * 岗位名称
     */
    @TableField(value = "job_name")
    @ApiModelProperty(value="岗位名称")
    private String jobName;

    /**
     * 岗位排序
     */
    @TableField(value = "sort")
    @ApiModelProperty(value="岗位排序")
    private Integer sort;

    /**
     * 岗位描述
     */
    @TableField(value = "descript")
    @ApiModelProperty(value="岗位描述")
    private String descript;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private Integer createBy;


    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="修改人")
    private Integer updateBy;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="修改时间")
    private Date updateTime;

    /**
     * 状态
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value="状态")
    private Integer status;

    /**
     * 是否已删除
     */
    @TableField(value = "is_delete")
    @ApiModelProperty(value="是否已删除")
    private Integer isDelete;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_TENANT_ID = "tenant_id";

    public static final String COL_CATEGORY = "category";

    public static final String COL_JOB_CODE = "job_code";

    public static final String COL_JOB_NAME = "job_name";

    public static final String COL_SORT = "sort";

    public static final String COL_DESCRIPT = "descript";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_DEPT = "create_dept";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_STATUS = "status";

    public static final String COL_IS_DELETE = "is_delete";
}